package com.wntms.wy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

        /*id` varchar(50) NOT NULL COMMENT '货运单编号',
        `fare` double DEFAULT NULL COMMENT '运费',
        `insurancefare` double DEFAULT NULL COMMENT '保险费',
        `auditstatus` varchar(20) DEFAULT NULL COMMENT '审核状态',
        `pay` int(11) DEFAULT NULL COMMENT '付款方式',
        `sdate` date DEFAULT NULL COMMENT '预定发货日期',
        `fiid` int(11) NOT NULL COMMENT '货运信息表id',
        `uid` int(11) NOT NULL COMMENT '发货客户-用户表id',
        `coid` int(11) NOT NULL COMMENT '收货客户id',
        `flid` int(11) NOT NULL COMMENT '货运路线表id',
        `fsid` int(11) NOT NULL COMMENT '货运状态表id',
        `occurtime` datetime DEFAULT NULL COMMENT '发生时间',
        `refundtype` int(11) DEFAULT NULL COMMENT '返款类型',
        `payment` varchar(20) DEFAULT NULL COMMENT '代收货款',
        PRIMARY KEY (`id`,`fiid`,`uid`,`coid`,`flid`,`fsid`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='货运单合同表'*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FreightContract {
    private String id;
    private Double fare;
    private Double insurancefare;
    private Boolean auditstatus;
    private Integer pay;
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sdate;
    private Integer fiid;
    private Integer uid;
    private Integer coid;
    private Integer flid;
    private Integer fsid;
    //@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date occurtime;
    private Integer refundtye;
    private String payment;
    //private Boolean ispayment;
    private String fid;
    private Integer deleted;





}

